from django.db import models


# Create your models here.
class Birthday(models.Model):
    index = models.AutoField(verbose_name='Index', primary_key=True)
    age = models.IntegerField(verbose_name='Age')
    image = models.ImageField(
        verbose_name='Image',
        null=True,
        blank=True,
        help_text='The Image to show',
    )
    describe = models.TextField(verbose_name='Describe Text', null=True, blank=True)

    class Meta:
        db_table = ''
        verbose_name = 'The Model to show how to do his age'

    def __str__(self):
        return f'The age is {self.age}, {self.image}, {self.describe}'
